package com.googlecode.bip.entity;

import java.io.Serializable;

/**
 * Entry for 'local' table - public interface
 *
 * @author Claude CHOISNET
 */
public interface ILocal extends Serializable
{
    /**
     * Set idlocal for Local
     *
     * @param idlocal idlocal to set (lower case, 2 characters)
     * @throws IllegalArgumentException if idlocal is not valid
     * @throws NullPointerException if idlocal is null
     */
    public void setIdLocal( String idlocal )
        throws IllegalArgumentException, NullPointerException;

    /**
     * Returns idlocal for Local
     * @return idlocal for Local
     */
    public String getIdLocal();

    /**
     * Set name for Local
     *
     * @param name Name to set
     */
    public void setName( String name );

    /**
     * Returns name for Local
     * @return name for Local
     */
    public String getName();

}
